Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt tests to UsdShade GetInputs() and GetOutputs() API update with USD 21.05 #1224

Conversation

mattyjams
Copy link
Contributor

Just one small tests-only change to go along with the most recently pushed core USD dev branch commits.

Starting with core USD 21.05, GetInputs() and GetOutputs() take an optional onlyAuthored argument that is True by default, which means that calling those functions without arguments will only return the authored terminals. For earlier USD releases, we still expect them to always return the built-in terminals for the universal renderContext in addition to any other authored terminals. See PixarAnimationStudios/OpenUSD@5375769 for more detail.

I also took the opportunity to update the doc/build.md.

…USD 21.05

Starting with core USD 21.05, GetInputs() and GetOutputs() take an optional
"onlyAuthored" argument that is True by default, which means that calling those
functions without arguments will only return the authored terminals. For
earlier USD releases, we still expect them to always return the built-in
terminals for the universal renderContext in addition to any other authored
terminals.

This change corresponds to core USD commit
PixarAnimationStudios/OpenUSD@5375769

(Internal changes: 2149549, 2149900)
This identifies core USD commit 07d13fe (post 21.02 release) as the most recent
supported version of USD:

PixarAnimationStudios/OpenUSD@07d13fe
@mattyjams mattyjams added unit test Related to unit tests (both python or c++) build Related to building maya-usd repository labels Feb 27, 2021
@kxl-adsk kxl-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 27, 2021
@kxl-adsk kxl-adsk merged commit 629318c into Autodesk:dev Mar 1, 2021
@mattyjams mattyjams deleted the pr/update_UsdShade_Get_Inputs_Outputs_API_in_tests branch March 1, 2021 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building maya-usd repository ready-for-merge Development process is finished, PR is ready for merge unit test Related to unit tests (both python or c++)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants